#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include "custom_widgets/capacitypanel.h"
#include "custom_widgets/datadispwidget.h"
#include "custom_widgets/gaugepanel.h"
#include "custom_widgets/homepage.h"
#include "custom_widgets/summarypanel.h"
#include "fonticon/iconhelper.h"
#include "public_define.h"

#include <QGroupBox>
#include <QHBoxLayout>
#include <QIcon>
#include <QLabel>
#include <QPushButton>
#include <QStackedWidget>
#include <QTabWidget>
#include <QTextEdit>
#include <QToolButton>
#include <QVBoxLayout>
#include <QWidget>

class Mainwindow : public QWidget
{
    Q_OBJECT

public:
    Mainwindow( QWidget* parent = nullptr );
    ~Mainwindow();

private:
    void initView();
    void setToolButtonStyle();

private slots:
    void onNabitemClicked( bool clicked );

private:
    QList< QToolButton* > m_NavItems;
    QStackedWidget*       m_StackedWidget;
    HomePage*             m_HomePage;
};
#endif  // MAINWINDOW_H
